.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;

  .login-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
      opacity: 0.3;
    }

    .background-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.1);
    }
  }

  .login-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;

    .login-card {
      border-radius: 16px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      overflow: hidden;

      .ant-card-body {
        padding: 40px 32px;
      }

      .login-header {
        text-align: center;
        margin-bottom: 32px;

        h1 {
          font-size: 28px;
          font-weight: 700;
          color: #1a1a1a;
          margin-bottom: 8px;
          background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
        }

        p {
          color: #666;
          font-size: 14px;
          margin: 0;
        }
      }

      .ant-tabs {
        .ant-tabs-tab {
          font-weight: 500;
          
          &.ant-tabs-tab-active {
            .ant-tabs-tab-btn {
              color: #1890ff;
              font-weight: 600;
            }
          }
        }

        .ant-tabs-content-holder {
          padding-top: 24px;
        }
      }

      .ant-form {
        .ant-form-item {
          margin-bottom: 20px;

          .ant-input-affix-wrapper,
          .ant-input {
            height: 48px;
            border-radius: 8px;
            border: 1px solid #e8e8e8;
            transition: all 0.3s ease;

            &:hover {
              border-color: #1890ff;
            }

            &:focus,
            &.ant-input-affix-wrapper-focused {
              border-color: #1890ff;
              box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
            }

            .ant-input {
              height: 46px;
              border: none;
              box-shadow: none;
            }

            .anticon {
              color: #bfbfbf;
            }
          }

          .ant-btn {
            height: 48px;
            border-radius: 8px;
            font-weight: 500;
            font-size: 16px;
            transition: all 0.3s ease;

            &.ant-btn-primary {
              background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
              border: none;
              box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);

              &:hover {
                transform: translateY(-1px);
                box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
              }

              &:active {
                transform: translateY(0);
              }
            }

            &.ant-btn-dashed {
              border-color: #d9d9d9;
              color: #666;

              &:hover {
                border-color: #1890ff;
                color: #1890ff;
              }
            }
          }
        }
      }

      .ant-divider {
        margin: 24px 0;
        color: #bfbfbf;
        font-size: 14px;
      }

      .login-tips {
        text-align: center;
        margin-top: 16px;

        p {
          font-size: 12px;
          color: #999;
          margin: 4px 0;
          line-height: 1.4;
        }
      }
    }
  }

  // 响应式设计
  @media (max-width: 768px) {
    padding: 16px;

    .login-content {
      max-width: 100%;

      .login-card {
        border-radius: 12px;

        .ant-card-body {
          padding: 24px 20px;
        }

        .login-header {
          margin-bottom: 24px;

          h1 {
            font-size: 24px;
          }
        }

        .ant-form {
          .ant-form-item {
            margin-bottom: 16px;

            .ant-input-affix-wrapper,
            .ant-input,
            .ant-btn {
              height: 44px;
            }
          }
        }
      }
    }
  }

  // 动画效果
  .login-card {
    animation: slideInUp 0.6s ease-out;
  }

  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  // 加载状态
  .ant-btn-loading {
    .ant-btn-loading-icon {
      .anticon {
        color: white !important;
      }
    }
  }
}